package com.hkzhao.reportingsystem.Docutment;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;
import java.util.Map;

@Document
public class TotalData {
    @Id
    private String id;
    @Indexed
    private String date;
    private  int total_diagnosis;
    private int total_death;
    private int total_recover;
    private int current_diagnosis;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public void setTotal_recover(int total_recover) {
        this.total_recover = total_recover;
    }

    public void setTotal_death(int total_death) {
        this.total_death = total_death;
    }

    public void setTotal_diagnosis(int total_diagnosis) {
        this.total_diagnosis = total_diagnosis;
    }

    public void setCurrent_diagnosis(int current_diagnosis) {
        this.current_diagnosis = current_diagnosis;
    }

    public int getCurrent_diagnosis() {
        return current_diagnosis;
    }

    public int getTotal_death() {
        return total_death;
    }

    public int getTotal_diagnosis() {
        return total_diagnosis;
    }

    public int getTotal_recover() {
        return total_recover;
    }
}
